﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using SIM.Geo.BE;

namespace SIM.Geo.SE
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ISEAvanceLabor" in both code and config file together.
    [ServiceContract]
    public interface ISEAvanceLabor
    {
        [OperationContract]
        List<AvanceLabor> ListarAvanceLabor();
        [OperationContract]
        int InsertarAvanceLabor(AvanceLabor AvanceLabor);
        [OperationContract]
        void ModificarAvanceLabor(AvanceLabor AvanceLabor);
        [OperationContract]
        void EliminarAvanceLabor(int codigoAvanceLabor);
        [OperationContract]
        AvanceLabor ObtenerAvanceLabor(int codigoAvanceLabor);
        [OperationContract]
        List<AvanceLabor> BuscarAvanceLabor(int anio, string mes);
        [OperationContract]
        int GenerarCodigoAvanceLabor(int anio, string mes);
    }
}
